package com.smasher.net.http.convert

import com.google.gson.GsonBuilder
import retrofit2.Converter
import retrofit2.converter.gson.GsonConverterFactory

class GsonConverterFactory : ConverterFactory {
    override fun createFactory(): Converter.Factory {
        return GsonConverterFactory.create(gson)
    }

    companion object {
        private val gson = GsonBuilder().create()
    }
}